package com.api.hg.model;

import com.api.sw.duban.annotation.Field;
import com.api.sw.duban.annotation.Table;
import com.api.sw.duban.util.LogTool;

import java.text.SimpleDateFormat;
import java.util.Date;

@Table(value="Uf_newxz_rkppjl",datasource = "local")
public class Uf_newxz_rkppjl {
    private final static LogTool log = new LogTool("/log/assetlog/huangwm/Uf_newxz_rkppjl",false);
    @Field(dbFiledName="")
    private String czr="";//操作人
    @Field(dbFiledName="")
    private String czrq="";//操作日期
    @Field(dbFiledName="")
    private String czsj="";//操作时间
    @Field(dbFiledName="")
    private String rkswzc="";//入库实物资产
    @Field(dbFiledName="")
    private String ppgbzc="";//匹配关保资产
    @Field(dbFiledName="")
    private String swpp="";//实物品牌
    @Field(dbFiledName="")
    private String swggxh="";//实物规格型号
    @Field(dbFiledName="")
    private String gbpp="";//关保品牌
    @Field(dbFiledName="")
    private String gbggxh="";//关保规格型号
    /* 建模自带属性*/
    @Field(dbFiledName="")
    private String modedatacreater="1";//创建人
    @Field(dbFiledName="")
    private String modedatacreatedate="";//创建日期
    @Field(dbFiledName="")
    private String formmodeid="422";//模型ID
    @Field(dbFiledName="")
    private String modedatacreatertype="0";//创建类型
    @Field(dbFiledName="")
    private String modedatacreatetime="";//创建时间
    public Uf_newxz_rkppjl(){
        SimpleDateFormat sim=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        SimpleDateFormat sim2=new SimpleDateFormat("yyyy-MM-dd HH:mm");
        this.modedatacreatedate=sim.format(new Date()).split(" ")[0];
        this.modedatacreatetime=sim.format(new Date()).split(" ")[1];
        this.czrq=sim2.format(new Date()).split(" ")[0];
        this.czsj=sim2.format(new Date()).split(" ")[1];
    }

    public String getCzr() {
        return czr;
    }
    public void setCzr(String gbzcid) {
        this.czr = gbzcid;
    }

    public String getCzrq() {
        return czrq;
    }
    public void setCzrq(String czrq) {
        this.czrq = czrq;
    }

    public String getCzsj() { return czsj; }
    public void setCzsj(String bz) { this.czsj = czsj; }

    public String getRkswzc() { return rkswzc; }
    public void setRkswzc(String rkswzc) { this.rkswzc = rkswzc; }

    public String getPpgbzc() {
        return ppgbzc;
    }
    public void setPpgbzc(String ppgbzc) {
        this.ppgbzc = ppgbzc;
    }

    public String getSwpp() {
        return swpp;
    }
    public void setSwpp(String swpp) {
        this.swpp = swpp;
    }

    public String getSwggxh() {
        return swggxh;
    }
    public void setSwggxh(String swggxh) {
        this.swggxh = swggxh;
    }

    public String getGbpp() {
        return gbpp;
    }
    public void setGbpp(String gbpp) {
        this.gbpp = gbpp;
    }

    public String getGbggxh() {
        return gbggxh;
    }
    public void setGbggxh(String gbggxh) {
        this.gbggxh = gbggxh;
    }

    public String getModedatacreater() {
        return modedatacreater;
    }

    public void setModedatacreater(String modedatacreater) {
        this.modedatacreater = modedatacreater;
    }
    public String getModedatacreatedate() {
        return modedatacreatedate;
    }

    public void setModedatacreatedate(String modedatacreatedate) {
        this.modedatacreatedate = modedatacreatedate;
    }
    public String getFormmodeid() {
        return formmodeid;
    }

    public void setFormmodeid(String formmodeid) {
        this.formmodeid = formmodeid;
    }
    public String getModedatacreatertype() {
        return modedatacreatertype;
    }

    public void setModedatacreatertype(String modedatacreatertype) {
        this.modedatacreatertype = modedatacreatertype;
    }
    public String getModedatacreatetime() {
        return modedatacreatetime;
    }

    public void setModedatacreatetime(String modedatacreatetime) {
        this.modedatacreatetime = modedatacreatetime;
    }

    @Override
    public String toString() {
        String sql = "Uf_cxjlb{" +
                "czr='" + czr + '\'' +
                ", czrq='" + czrq + '\'' +
                ", czsj='" + czsj + '\'' +
                ", rkswzc='" + rkswzc + '\'' +
                ", ppgbzc='" + ppgbzc + '\'' +
                ", swpp='" + swpp + '\'' +
                ", swggxh='" + swggxh + '\'' +
                ", gbpp='" + gbpp + '\'' +
                ", gbggxh='" + gbggxh + '\'' +
                ", modedatacreater='" + modedatacreater + '\'' +
                ", modedatacreatedate='" + modedatacreatedate + '\'' +
                ", formmodeid='" + formmodeid + '\'' +
                ", modedatacreatertype='" + modedatacreatertype + '\'' +
                ", modedatacreatetime='" + modedatacreatetime + '\'' +
                '}';
        log.writeLog(sql);
        return sql;
    }
}
